package com.yonyou.brigade.third_parties.ctrip.groupmembers.pojo;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.yonyou.framework.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangzhf@yonyou.com
 * @since 2018-05-03
 */
@JsonIgnoreProperties(ignoreUnknown = true)
@TableName("ctrip_group")
public class CtripGroup extends BaseEntity<CtripGroup> {

    private static final long serialVersionUID = 1L;

    /**
     * 组ID，主键自增
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 组名称
     */
	private String name;
    /**
     * 备注
     */
	private String note;
	/**
	 * 租户ID
	 */
	private String tenantid;




	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}
	public String getTenantid() {
		return tenantid;
	}

	public void setTenantid(String tenantid) {
		this.tenantid = tenantid;
	}


	public static final String ID = "id";

	public static final String NAME = "name";

	public static final String NOTE = "note";

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "CtripGroup{" +
			"id=" + id +
			", name=" + name +
			", note=" + note +
			", tenantid=" + tenantid +
			"}";
	}
}
